
class Agent:
    def __init__(self,name,
                 description,
                 system_prompt,
                 agent_type,
                 llm_engine,
                 agents =None,
                 rag=None):
        self.name = name
        self.description = description
        self.system_prompt = system_prompt
        self.agent_type = agent_type
        self.rag = rag
        self.llm_engine = llm_engine
        self.agents = agents


    def build_prompt(self,*args,**kwargs):
        ...
    def run(self,*args,**kwargs):
        ...

    def clear(self):
        self.messages = [{'role':'system','content':self.system_prompt}]

    def flow(self,*args,**kwargs):
        ...

    def stop(self,*args,**kwargs):
        ...

    def event_stream(self,*args,**kwargs):
        ...


